2008-08-12 Michael Natterer <mitch@imendio.com>
* gtk/gtkstatusicon.c (gtk_status_icon_get_gicon): use
g_return_val_if_fail() now that the function has a return value.
svn path=/trunk/; revision=21095
+2008-08-12 Michael Natterer <mitch@imendio.com>
+
+ * gtk/gtkstatusicon.c (gtk_status_icon_get_gicon): use
+ g_return_val_if_fail() now that the function has a return value.
+
2008-08-12 Sven Neumann <sven@gimp.org>
* gtk/gtkaccellabel.c
{
GtkStatusIconPrivate *priv;
- g_return_if_fail (GTK_IS_STATUS_ICON (status_icon));
+ g_return_val_if_fail (GTK_IS_STATUS_ICON (status_icon), NULL);
priv = status_icon->priv;
- g_return_if_fail (priv->storage_type == GTK_IMAGE_GICON ||
- priv->storage_type == GTK_IMAGE_EMPTY);
+ g_return_val_if_fail (priv->storage_type == GTK_IMAGE_GICON ||
+ priv->storage_type == GTK_IMAGE_EMPTY, NULL);
if (priv->storage_type == GTK_IMAGE_EMPTY)
priv->image_data.gicon = NULL;